import {createSlice} from "@reduxjs/toolkit";

const weiboSlice = createSlice({
    name:"weibo",
    initialState:{
        contentList:[],// 微博列表
    },
    reducers:{
        upContentList(state,{payload}){
            state.contentList = payload;
        }
    }
})
export const {upContentList} = weiboSlice.actions;
export default weiboSlice.reducer;